// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_MAP_BILLING_DELIVERY
// * CreateDate    : 2012/4/10 09:41:25
// * Creater       : CodeSmith
// * LastChangeDate: 2012/4/10 09:41:25
// * LastChanger   : 2012/4/10 09:41:25
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinMapBillingDeliveryTable : TableInfo
    {
		public const string C_TableName = "FIN_MAP_BILLING_DELIVERY";
		
		public const string C_DELIVERY_ITEM_ID = "DELIVERY_ITEM_ID";
		public const string C_APPLICATION_ID = "APPLICATION_ID";
		public const string C_BILLING_AMOUNT = "BILLING_AMOUNT";
		
		public FinMapBillingDeliveryTable()
        {
            _tableName = "FIN_MAP_BILLING_DELIVERY";
        }
		
		protected static FinMapBillingDeliveryTable _current;
        public static FinMapBillingDeliveryTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinMapBillingDeliveryTable();

            _current.Add(C_DELIVERY_ITEM_ID, new ColumnInfo(C_DELIVERY_ITEM_ID,"DeliveryItemId", true, typeof(string)));
            _current.Add(C_APPLICATION_ID, new ColumnInfo(C_APPLICATION_ID,"ApplicationId", true, typeof(string)));
            _current.Add(C_BILLING_AMOUNT, new ColumnInfo(C_BILLING_AMOUNT,"BillingAmount", false, typeof(decimal)));
			
		}
		
		public ColumnInfo DELIVERY_ITEM_ID
        {
            get { return this[C_DELIVERY_ITEM_ID]; }
        }
		
		public ColumnInfo APPLICATION_ID
        {
            get { return this[C_APPLICATION_ID]; }
        }
		
		public ColumnInfo BILLING_AMOUNT
        {
            get { return this[C_BILLING_AMOUNT]; }
        }
		
		
		
	}
}

